*Miller, Joanne; Saunders, Kyle; Farhart, Christina, 2015, "Replication Data for: Conspiracy Endorsement as Motivated Reasoning: The Moderating Roles of Political Knowledge and Trust", https://doi.org/10.7910/DVN/O3A06T, Harvard Dataverse, V1, UNF:6:GA6l4ZTa5RzYARp66sTh1w== [fileUNF]

tabulate VoteMethod, g(VoteMethod_D)
tabulate Education, g(Education_D)
tabulate Gender, g(Gender_D)

generate IncomeIndex = Income/12
generate Conservative_standard = Conservative/7

recode Vote2020 (2=0)
recode Vote2016 (2=0)
recode Latino (2=0)

gen Conservative_D = .
replace Conservative_D = 0 if Conservative_standard < .5
replace Conservative_D = 1 if Conservative_standard >= .5

gen Strong = .
replace Strong = 1 if Conservative==4
replace Strong = 2 if Conservative==3|Conservative==5
replace Strong = 3 if Conservative==3|Conservative==6
replace Strong = 4 if Conservative==1|Conservative==57
replace Strong = Strong/4

gen StrongPartisian = .
replace StrongPartisian = 1 if Partisian==4
replace StrongPartisian = 2 if Partisian==3|Partisian==5
replace StrongPartisian = 3 if Partisian==3|Partisian==6
replace StrongPartisian = 4 if Partisian==1|Partisian==57
replace StrongPartisian = StrongPartisian/4


logit Vote2020 KnowledgeIndex ParticipationIndex LiberalIndex 
ConservativeIndex Trust3Index EEfficacyIndex CognitionIndex 
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex

logistic Vote2020 KnowledgeIndex ParticipationIndex LiberalIndex ConservativeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex
logit VoteMethod_D3 KnowledgeIndex ParticipationIndex LiberalIndex ConservativeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex
logit VoteMethod_D2 KnowledgeIndex ParticipationIndex LiberalIndex ConservativeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex
logit VoteMethod_D1 KnowledgeIndex ParticipationIndex LiberalIndex ConservativeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex


reg ParticipationIndex KnowledgeIndex ConservativeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex if PartisanRD==1
reg ParticipationIndex KnowledgeIndex LiberalIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex if PartisanRD==0

reg ParticipationIndex KnowledgeIndex ConservativeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex if Partisian==1
reg ParticipationIndex KnowledgeIndex LiberalIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex if Partisian==7

regress ConservativeIndex Conservative_standard ParticipationIndex KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7 if PartisanRD==1
regress ConservativeIndex Conservative_standard ParticipationIndex KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex  Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7 if PartisanRD==0
regress LiberalIndex Conservative_standard ParticipationIndex KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7 if PartisanRD==1
regress LiberalIndex Conservative_standard ParticipationIndex KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7 if PartisanRD==0



reg ConservativeIndex Conservative_standard ParticipationIndex KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
outreg2 using Table3.doc
reg liberalindex Conservative_standard ParticipationIndex KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
outreg2 using Table3.doc
reg ConservativeIndex i.Conservative_D##c.KnowledgeIndex ///
ParticipationIndex Trust3Index EEfficacyIndex CognitionIndex ///
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex ///
Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
outreg2 using Table3.doc
reg liberalindex i.Conservative_D##c.KnowledgeIndex ///
ParticipationIndex Trust3Index EEfficacyIndex CognitionIndex ///
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex ///
Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
outreg2 using Table3.doc
reg ConservativeIndex i.Conservative_D##c.ParticipationIndex##c.KnowledgeIndex ///
Trust3Index EEfficacyIndex CognitionIndex ///
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex ///
Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
outreg2 using Table3.doc
reg liberalindex i.Conservative_D##c.ParticipationIndex##c.KnowledgeIndex ///
Trust3Index EEfficacyIndex CognitionIndex ///
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex ///
Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
outreg2 using Table3.doc



regress ConservativeIndex i.Conservative_D##c.ParticipationIndex##c.KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
outreg2 using Table2.doc
regress liberalindex_3 i.Conservative_D##c.ParticipationIndex##c.KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
outreg2 using Table2.doc


regress LiberalIndex i.Conservative_D##c.ParticipationIndex KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
regress ConservativeIndex i.PartisanRD##c.ParticipationIndex KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7

reg LiberalIndex i.Conservative_D##c.KnowledgeIndex ///
ParticipationIndex Trust3Index EEfficacyIndex CognitionIndex ///
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex ///
Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
margins, dydx(KnowledgeIndex) at(Conservative_D=(0(1)1))

margins, at(KnowledgeIndex=(0(.1)1)) over(Conservative_D)
marginsplot, title("MTurk", col(black) nospan) xtitle(Political Knowledge) recast(line) recastci(rline) legend(rows(1)) ///
	ci1opts(lpat(dash) lcol(gs7)) ///
	ci2opts(lpat(dash) lcol(gs7)) ///
	plot1opts(lwidth(thick)) ///
	plot2opts(lwidth(thick)) ///
	graphregion(fcolor(white) lcolor(white)) ///
	ylab(0(.25).75, angle(0) labsize(small)) ///
	xlab(0 "Low" 1 "High", labsize(small)) ///
	ytitle("Liberal Index") ///
	legend(textfirst) ///
	text(.49 .5 ".07 (.03)") ///
    text(.18 .5 "-.30 (.02)") ///
	scheme(s1mono)
	
regress LiberalIndex i.PartisanRD##c.ParticipationIndex##c.KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
regress ConservativeIndex i.PartisanRD##c.ParticipationIndex##c.KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7

reg liberalindex i.Conservative_D##c.StrongPartisian ///
ParticipationIndex Trust3Index EEfficacyIndex CognitionIndex ///
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex ///
Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
margins, dydx(StrongPartisian) at(Conservative_D=(0(1)1))

margins, at(StrongPartisian=(0(.1)1)) over(Conservative_D)
marginsplot, title("MTurk", col(black) nospan) xtitle(Partisanship) recast(line) recastci(rline) legend(rows(1)) ///
	ci1opts(lpat(dash) lcol(gs7)) ///
	ci2opts(lpat(dash) lcol(gs7)) ///
	plot1opts(lwidth(thick)) ///
	plot2opts(lwidth(thick)) ///
	graphregion(fcolor(white) lcolor(white)) ///
	ylab(0(.25).75, angle(0) labsize(small)) ///
	xlab(0 "Weak" 1 "Strong", labsize(small)) ///
	ytitle("Liberal Index") ///
	legend(textfirst) ///
	text(.49 .5 ".07 (.03)") ///
    text(.18 .5 "-.30 (.02)") ///
	scheme(s1mono)
	
reg liberalindex i.PartisanRD##c.KnowledgeIndex ///
Trust3Index EEfficacyIndex CognitionIndex ///
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex ///
Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7 if ParticipationIndex < .5
margins, dydx(KnowledgeIndex) at(PartisanRD=(0(1)1))

margins, at(KnowledgeIndex=(0(.1)1)) over(PartisanRD)
marginsplot, title("MTurk", col(black) nospan) xtitle(Political Knowledge) recast(line) recastci(rline) legend(rows(1)) ///
	ci1opts(lpat(dash) lcol(gs7)) ///
	ci2opts(lpat(dash) lcol(gs7)) ///
	plot1opts(lwidth(thick)) ///
	plot2opts(lwidth(thick)) ///
	graphregion(fcolor(white) lcolor(white)) ///
	ylab(0(.25).75, angle(0) labsize(small)) ///
	xlab(0 "Low" 1 "High", labsize(small)) ///
	ytitle("Liberal Index") ///
	legend(textfirst) ///
	text(.49 .5 ".07 (.03)") ///
    text(.18 .5 "-.30 (.02)") ///
	scheme(s1mono)
	
reg liberalindex i.PartisanRD##c.ParticipationIndex ///
KnowledgeIndex Trust3Index EEfficacyIndex CognitionIndex ///
ConfidenceIndex EvaluationIndex IEfficacyIndex ReligionIndex IncomeIndex ///
Gender_D1 Education_D2 Education_D3 Education_D4 Education_D5 Education_D6 Education_D7
margins, dydx(KnowledgeIndex) at(PartisanRD=(0(1)1))

margins, at(KnowledgeIndex=(0(.1)1)) over(PartisanRD)
marginsplot, title("MTurk", col(black) nospan) xtitle(Political Knowledge) recast(line) recastci(rline) legend(rows(1)) ///
	ci1opts(lpat(dash) lcol(gs7)) ///
	ci2opts(lpat(dash) lcol(gs7)) ///
	plot1opts(lwidth(thick)) ///
	plot2opts(lwidth(thick)) ///
	graphregion(fcolor(white) lcolor(white)) ///
	ylab(0(.25).75, angle(0) labsize(small)) ///
	xlab(0 "Low" 1 "High", labsize(small)) ///
	ytitle("Liberal Index") ///
	legend(textfirst) ///
	text(.49 .5 ".07 (.03)") ///
    text(.18 .5 "-.30 (.02)") ///
	scheme(s1mono)
